package com.zpark.resume.mapper;

import com.zpark.resume.entity.Member;

/**
 * @PackageName: com.zpark.resume.mapper
 * @ClassName: IMemberMapper
 * @Description: 会员持久层接口
 * @author: RZS
 * @date: 2023/5/30  15:32
 */
public interface IMemberMapper {

    /**
     * 根据用户名查询用户数据
     * @param username 用户名字
     * @return 用户对象
     */
    Member selectByUsername(String username);

    // 用户注册
    Integer insertMember(Member member);

    // 根据member——id查询数据
    Member selectById(Integer id);
}
